package com.onesports.intelligent.k12.polarlight.domain.vo.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 商品-拼班VO
 *
 * @author clw
 * @date 2022-07-08 18:15:47
 */
@Data
@ApiModel(value = "商品拼班VO")
public class ProductSpellClassVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "校区id")
    private String campusId;

    @ApiModelProperty(value = "机构ID")
    private String organizationId;

    @ApiModelProperty(value = "商品ID")
    private String productId;

    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "团长Id")
    private String wxUserId;

    @ApiModelProperty(value = "团长昵称")
    private String nickName;

    @ApiModelProperty(value = "团长头像")
    private String headUrl;

    @ApiModelProperty(value = "上课开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;

    @ApiModelProperty(value = "上课结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "未拼人数")
    private Integer unUseNum;

    @ApiModelProperty(value = "最低人数要求")
    private Integer minNum;

    @ApiModelProperty(value = "人数上限(总人数)")
    private Integer maxNum;

    @ApiModelProperty(value = "已拼学员数")
    private Integer useStudentNum;

    @ApiModelProperty(value = "班级状态 0：拼班中  1：待开课(拼班完成) 2：拼班未成功 3：开班中  4：解散（到期结课）5：解散（团长解散）、6：解散（人数不足）")
    private String classStatus;

    @ApiModelProperty(value = "班级ID")
    private String classInfoId;

}
